<link rel="stylesheet/less" type="text/css" href="./bricks/component/menu/menu.less"/>
<link rel="stylesheet/less" type="text/css" href="./bricks/component/header/header.less"/>


<div>
    <div class="row">
        <div class="col-3">
            <div class="ub-menu page-menu" data-menu-page-menu>
                <div class="page-menu-container">
                    <div class="title">
                        标题1
                    </div>
                    <div class="items">
                        <a class="active" href="#">标题1-1</a>
                        <a href="#">标题1-2</a>
                    </div>
                    <div class="title no-angle">
                        <a href="#">
                            标题2
                        </a>
                    </div>
                    <div class="items">
                        <a href="#">标题2-1</a>
                        <a href="#">标题2-2</a>
                    </div>
                    <div class="title">标题3</div>
                    <div class="items">
                        <a href="#">标题3-1</a>
                        <a href="#" data-repeat="100">标题3-2</a>
                    </div>
                </div>
                <a class="page-menu-toggle" href="javascript:;"
                   onclick="$('body').toggleClass('ub-menu-page-show')">
                    <i class="icon iconfont icon-list"></i>
                </a>
            </div>
            <script>
                $(function () {
                    $('[data-menu-page-menu]').on('click','.title',function(){
                        $(this).next().toggleClass('open');
                    });
                });
            </script>
        </div>
    </div>
</div>
